package com.hu.bgp.client.view;

import com.google.gwt.event.dom.client.HasClickHandlers;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.Widget;
import com.hu.bgp.client.presenter.GameTypes.Display;
import com.hu.bgp.client.widgets.uicomponents.GameTypeTableUser;

public class GameTypes extends Composite implements Display
{
	private GameTypeTableUser typeTable;
	private Button selectButton;
	private FlowPanel content = new FlowPanel();
	
	public GameTypes()
	{
		
		typeTable = new GameTypeTableUser();
		selectButton = new Button("Select");
		content.add(typeTable);
		content.add(selectButton);
		initWidget(content);
	}
	
	public Widget asWidget() {
		return this;
	}

	public GameTypeTableUser getGameTypetable() {

		return typeTable;
	}


	public HasClickHandlers getSelectButton() {

		return selectButton;
	}

}
